/* 用户信息区*/
.user-info-area {
  padding: 0 30rpx;
  color: white;
  background: url("/static/images/heart.png") no-repeat right center;
  background-size: contain;
  background-position: right center;

  .user-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20rpx;

    .user-name {
      font-size: 40rpx;
      font-weight: bold;
    }

    .user-action-buttons {
      display: flex;
      gap: 20rpx;
    }

    .action-button {
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 30rpx;
      padding: 10rpx 20rpx;
      display: flex;
      align-items: center;
      gap: 6rpx;
    }

    .action-icon {
      width: 28rpx;
      height: 28rpx;
      margin-right: 4rpx;
    }

    .action-text {
      font-size: 24rpx;
      color: white;
    }
  }

  .user-score {
    font-size: 22px;
    color: white;
    text-align: center;
    font-weight: bold;
    margin: 15px;
  }
}

/* 功能卡片区 */
.function-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20rpx;
  padding: 0 30rpx 20rpx;

  .function-card {
    background: linear-gradient(to bottom, #f5c3c6 0%, #fcebea 25%);
    border-radius: 16rpx;
    padding: 16rpx 12rpx;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.1);

    .card-header {
      display: flex;
      align-items: center;
      gap: 10rpx;
      margin-bottom: 10rpx;
    }

    .card-title {
      font-size: 30rpx;
      color: #502108;
      font-weight: bold;
    }
    .card-item {
      min-height: 20px;
      align-items: center;
      overflow: hidden;
      color: #393939;
      line-height: 1.4;
      font-size: 13px;
    }
    .card-label {
      display: inline-block;
      width: 60px;
    }
    .card-value {
    }
  }
}
/* 婚姻透视section样式 */
.feature-section {
  width: 100%;
  border-radius: 16rpx;
  padding: 20rpx;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  display: flex;

  .tabs-container {
    width: 100%;
    .tabs-row {
      display: flex;
      justify-content: space-between;
      .tab {
        font-size: 13px;
        color: #3a3939;
        cursor: pointer;
        position: relative;
        &.active {
          color: #de3531;
        }
      }
      
    }
    .tab-item {
      border: solid 1px #ffeada;
      border-radius: 10px;
      margin-top: 30px;
      position: relative;
   
    }
  }
  .tab-item-content {
    padding: 0 10px;
    color: #707070;
    font-size: 12px;
    line-height: 2;
    white-space: pre-line;
  }
}

/* 服务项目列表 */
.service-items {
  padding: 20rpx;
  background: #fff;
  border-radius: 16rpx;

  .service-grid {
    display: flex;
    flex-direction: column;
    gap: 20rpx;

    .service-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30rpx 0;
      background: #fff;
      border-bottom: 1px solid #f5f5f5;
    }

    .service-icon {
      width: 140rpx;
      height: 140rpx;
      margin-right: 30rpx;
    }
    .service-name {
      font-size: 30rpx;
      color: #643f34;
      font-weight: bold;
    }

    .service-desc {
      font-size: 24rpx;
      color: #999;
    }

    .service-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 8rpx;
    }
    .service-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10rpx;
    }

    .service-price {
      display: flex;
      align-items: baseline;
      gap: 4rpx;
    }

    .original-price {
      font-size: 24rpx;
      color: #999;
      text-decoration: line-through;
      margin-right: 10rpx;
    }

    .price-value {
      font-size: 36rpx;
      color: #dd302c;
      font-weight: bold;
    }

    .price-unit {
      font-size: 24rpx;
      color: #333;
    }
    // 特殊项目(AI)的图标样式
    .service-icon-large {
      width: 220rpx;
      height: 220rpx;
    }
    // 特殊项目(AI)的右侧布局
    .service-special-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .service-special-info {
      display: flex;
      flex-direction: column;
      gap: 8rpx;
      margin-bottom: 20rpx;
    }

    // 特殊描述样式
    .service-desc-special {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      margin-bottom: 6rpx;
    }

    .service-special-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    // 特殊项目描述文字
    .service-desc-special .service-desc {
      font-size: 24rpx;
      color: #666;
      line-height: 1.8;
      flex: 1;
      white-space: pre-line;
    }

    .pay-now {
      background-image: linear-gradient(#eb6b52 0%, #df3a32 50%);
      padding: 10rpx 30rpx;
      border-radius: 30rpx;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: 120px;
      color: white;
      &::before {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        background-image: url("/static/images/wechat-pay.png");
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 6px;
      }
    }

    // 特殊项目(AI)的容器样式
    .service-special-container {
      display: flex;
      width: 100%;
      border-radius: 8px;
      background-color: #fff;
      box-sizing: border-box;
    }
  }
}

// 价格相关
.prices-section {
  width: 100%;
  background: #fff;
  border-radius: 16rpx;

  .price-section {
    width: 100%;
    text-align: center;
    margin: 20rpx 0;
  }
  .price-wrapper {
    display: inline-flex;
    align-items: baseline;
  }

  .original-price {
    font-size: 32rpx;
    color: #999;
    text-decoration: line-through;
    margin-right: 20rpx;
  }

  .current-price {
    font-size: 40rpx;
    color: #dd302c;
    font-weight: bold;
  }
  .user-count {
    text-align: center;
    font-size: 24rpx;
    color: #666;
    margin: 20rpx 0;
  }

  // 支付按钮样式
  .pay-button {
    background-image: linear-gradient(#eb6b52 0%, #df3a32 50%);
    color: white;
    border-radius: 30px;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 10px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .pay-button::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("/static/images/wechat-pay.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
  }

  .button-text {
    font-size: 16px;
    font-weight: 500;
    color: white;
  }

  .otherComp-image {
    display: flex;
    justify-content: center;
    image {
      width: 600rpx;
      height: 120rpx;
    }
  }
}
// 底部信息
.footer-info {
  background-color: #f3f5f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #aaabab;
  padding: 10px 0;
  .sub-text {
    display: inline-block;
    width: 80%;
    font-size: 12px;
  }
}

// 添加新的部分标题样式
.section-title {
  display: flex;
  align-items: center;
  margin: 15px 0 10px;
  background: linear-gradient(to right, #f8ddda, #ffffff);
  height: 33px;
  position: relative;
  justify-content: space-between;
  padding-right: 20px;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background-color: #dd302c;
    border-radius: 1px;
  }
  .section-title-bar {
  }

  .section-title-text {
    font-size: 32rpx;
    color: #60392e;
    font-weight: bold;

    padding-left: 20rpx;
  }
}
